<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
   
<%@ page import="java.util.*" %> 
   
<html>
<head>
<title>这是一个声明的练习，练习很重要</title>
</head>
<body>
<center>
	<%! Date date = new Date(); %>
	<%! int a,b,c; %>
	<% a=12; b=a; c=a+b; %>
	
	<font color="blue">
	<%= date.toString() %>
	</font><br>
	
	<b>a=<%= a %></b><br>
	<b>b=<%= b %></b><br>
	<b>c=<%= c %></b>
</center>
</body>
</html>